package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 竞标表 竞标信息记录表
 *
 * @author WeiZiDong
 */
@Table(name = "`pms_auction_info`")
@Data
@ApiModel("竞标表竞标信息记录表")
public class PmsAuctionInfo implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户id", example = "String")
    private String userId;
    @Column(name = "`user_photo`")
    @ApiModelProperty(value = "用户头像", example = "String")
    private String userPhoto;
    @Column(name = "`nick_name`")
    @ApiModelProperty(value = "用户昵称", example = "String")
    private String nickName;
    @Column(name = "`user_type`")
    @ApiModelProperty(value = "用户类型1-采购商；2-供应商", example = "1")
    private Integer userType;
    @Column(name = "`user_phone`")
    @ApiModelProperty(value = "用户手机号", example = "String")
    private String userPhone;
    @Column(name = "`select_storehouse_id`")
    @ApiModelProperty(value = "选品库id", example = "String")
    private String selectStorehouseId;
    @Column(name = "`video_url`")
    @ApiModelProperty(value = "商品短视频链接", example = "String")
    private String videoUrl;
    @Column(name = "`video_image`")
    @ApiModelProperty(value = "商品短视频封面", example = "String")
    private String videoImage;
    @Column(name = "`expected_price`")
    @ApiModelProperty(value = "预期价格", example = "1")
    private Integer expectedPrice;
    @Column(name = "`purchase_num`")
    @ApiModelProperty(value = "采购数量", example = "1")
    private Integer purchaseNum;
    @Column(name = "`end_time`")
    @ApiModelProperty(value = "结束竞拍时间", example = "2019-05-05 17:55:31")
    private Date endTime;
    @Column(name = "`expected_delivery_time`")
    @ApiModelProperty(value = "期望发货时间", example = "2019-05-05 17:55:31")
    private Date expectedDeliveryTime;
    @Column(name = "`total_price`")
    @ApiModelProperty(value = "采购总价", example = "1")
    private Integer totalPrice;
    @Column(name = "`packing_fee`")
    @ApiModelProperty(value = "包装费", example = "1")
    private Integer packingFee;
    @Column(name = "`logistics_fee`")
    @ApiModelProperty(value = "物流费", example = "1")
    private Integer logisticsFee;
    @Column(name = "`inspection_fee`")
    @ApiModelProperty(value = "质检费", example = "1")
    private Integer inspectionFee;
    @Column(name = "`receiving_address_id`")
    @ApiModelProperty(value = "收货地址ID", example = "String")
    private String receivingAddressId;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
